<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en" ng-app="aotaApp">
<head>
    <%
        String contextPath = request.getContextPath();
    %>
    <base href="/">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- <link rel="icon" href="../../favicon.ico"> -->

    <title>AOTA-Admin Login</title>
    <link rel="stylesheet" href="<%=contextPath%>/styles/build/login.min.css">
</head>

<body>

    <div id="login-panel">
        <div id="login-header">
            <img src="<%=contextPath%>/images/logo.png">
            <h2>AOTA Admin Console Identity Authentication</h2>
        </div>
        <div id="login-body">
            <form action="<%=contextPath%>/admin/loginSys" method="POST" id="login-form">
                <table>
                    <tr>
                        <td width="20%" class="t-r"><label for="username">User ID</label></td>
                        <td width="60%"><input class="form-control" type="text" id="username" placeholder="Email" spellcheck="fasle" name="adminName"/></td>
                        <td width="20%"></td>
                    </tr>
                    <tr>
                        <td class="t-r"><label for="password">Password</label></td>
                        <td><input class="form-control" type="password" id='password' name="adminPass"/></td>
                    </tr>
                    <tr><td></td><td colspan="100%"><span id="error">${errMsg}</span></td></tr>
                    <tr><td></td><td><button type="submit" id="login-btn" class="btn btn-primary">Login</button></td>
                    <td></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>

    <script src="<%=contextPath%>/scripts/build/login.min.js"></script>
</body>

</html>
